amberpages.service 31df4cd3ccd8ea2d73627bcad292723a2aed2cbf (31df4cd3) Text, 778 B
T8b949e# put this file in /etc/systemd/system/
Tff7b72[Unit]
Te6edf3DescriptionTff7b72=Ta5d6ffAmber Pages service for NomadNetwork
Te6edf3DefaultDependenciesTff7b72=Ta5d6ffno
T8b949e# only use this if you have another service that should start a shared reticulum instance (standalone rnsd, NomadNet, etc.)
T8b949e#After=SERVICE.service
Tff7b72[Service]
Te6edf3TypeTff7b72=Ta5d6ffsimple
T8b949e# the user running the daemon (should be the same one that runs NomadNet)
Te6edf3UserTff7b72=Ta5d6ffUSER
T8b949e# as well as the group (get the group by running "id -gn" as the user, common names are the username or "users")
Te6edf3GroupTff7b72=Ta5d6ffGROUP
T8b949e# restart after failing
Te6edf3RestartTff7b72=Ta5d6ffalways
T8b949e# use this with with After=... to allow reticulum to start up before the AmberPages service starts
T8b949e#ExecStartPre=/bin/sleep 3
T8b949e# set the path to daemon.py here
Te6edf3ExecStartTff7b72=Ta5d6ff/usr/bin/python3 /PATH/TO/daemon.py
Tff7b72[Install]
Te6edf3WantedByTff7b72=Ta5d6ffdefault.target
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────